import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import 'package:meta/meta.dart';

@immutable
abstract class HomeEvent extends Equatable {
  HomeEvent([List props = const []]) : super(props);
}

class FetchHomeTopDataEvent extends HomeEvent {}

class HomeScrollViewOffsetEvent extends HomeEvent {
  final double scrollOffset;
  HomeScrollViewOffsetEvent({@required this.scrollOffset})
      : assert(scrollOffset != null),
        super();
}
